package com.foreverwin.mes.lims.enums;

/**
 * 检验类型：
 *    品质巡检 QI 生产巡检 PI
 *    半成品检验  IS 成品检验 PT 出品检验 PD
 *    外校 OS  定期检查 RI 首检检验 FI
 *
 */
public enum InspectType {
    QI("QI","品质巡检"),
    PI("PI","生产巡检"),
    IS("IS","半成品检验"),
    PT("PT","成品检验"),
    PD("PD","出品检验"),
    OS("OS","外校"),
    FI("FI","首检检验"),
    RI("RI","定期检查");

    private final String code;
    private final String description;

    private InspectType( String code, String description ){
        this.code = code;
        this.description = description;
    }

    public String getCode(){
        return this.code;
    }

    public String getDescription(){
        return this.description;
    }
}
